<!DOCTYPE html>
<html lang="en"  xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>商家入驻审核</title>
    <script language="JavaScript" src="/admin/js/jquery.js"></script>
    <script>
        $(function () {
            $("#btn").click(function() {
                var why=$("#why").val();

                if(why==null||why==""){
                    $("#sp").html("原因不能为空！");
                    return;
                }else {
                    $("#sp").html("");
                }
                $("#myform").submit();
            });
        })
    </script>
</head>
<body>
    <form action="/admin/showshopping1.htm" id="myform" method="post">
        <table  width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
        <tr>
            <th colspan="4" bgcolor="d3eaef">商铺入驻信息</th>
        </tr>
        <tr>
            <td align="left" width="15%" height="30" bgcolor="d3eaef"><div align="center"><span>法人姓名</span></div></td>
            <td align="left" width="20%" height="30" bgcolor="d3eaef"><div align="center"><span th:text="${map['leganName']}"></span></div></td>
            <td align="left" width="30%" height="30" bgcolor="d3eaef"><div align="center"><span>法人身份证号</span></div></td>
            <td align="left" width="35%" height="30" bgcolor="d3eaef"><div align="center"><span th:text="${map['leganCode']}"></span></div></td>
        </tr>
        <tr>
            <td align="left" height="30" bgcolor="d3eaef"><div align="center"><span>公司名称</span></div></td>
            <td align="left" height="30" bgcolor="d3eaef"><div align="center"><span th:text="${map['businessNum']}"></span></div></td>
            <td align="left" height="30" bgcolor="d3eaef"><div align="center"><span>营业执照编码</span></div></td>
            <td align="left" height="30" bgcolor="d3eaef"><div align="center"><span th:text="${map['leganCode']}"></span></div></td>
        </tr>
        <tr>
            <td align="left" height="30" bgcolor="d3eaef"><div align="center"><span>申请人姓名</span></div></td>
            <td align="left" height="30" bgcolor="d3eaef"><div align="center"><span th:text="${map['realname']}"></span></div></td>
            <td align="left" height="30" bgcolor="d3eaef"><div align="center"><span>申请人身份证号</span></div></td>
            <td align="left" height="30" bgcolor="d3eaef"><div align="center"><span th:text="${map['idCord']}"></span></div></td>
        </tr>
        <tr>
            <td align="left" height="30" bgcolor="d3eaef"><div align="center"><span>开户银行</span></div></td>
            <td align="left" height="30" bgcolor="d3eaef"><div align="center"><span th:text="${map['bank']}"></span></div></td>
            <td align="left" height="30" bgcolor="d3eaef"><div align="center"><span>银行账号</span></div></td>
            <td align="left" height="30" bgcolor="d3eaef"><div align="center"><span th:text="${map['bankCode']}"></span></div></td>
        </tr>
        <tr>
            <td align="left" height="30" bgcolor="d3eaef"><div align="center"><span>联系方式</span></div></td>
            <td align="left" height="30" bgcolor="d3eaef"><div align="center"><span th:text="${map['phone']}"></span></div></td>
            <td align="left" height="30" bgcolor="d3eaef"><div align="center"><span>申请时间</span></div></td>
            <td align="left" height="30" bgcolor="d3eaef"><div align="center"><span th:text="${#dates.format(map['addTime'],'yyyy-MM-dd HH:mm:ss')}"></span></div></td>
        </tr>
        <tr>
            <td colspan="4" align="left" height="30" bgcolor="d3eaef"><div align="center"><span>营业执照图片</span></div></td>
        </tr>
        <tr>
            <td colspan="4" align="left" height="300" bgcolor="d3eaef"><div align="center"><img th:src="@{${map['path']}}"/></div></td>
        </tr>
        <tr>
            <td colspan="4" align="left" height="30" bgcolor="d3eaef">
                <span>批注：</span>
                <input type="text" name="why" id="why" />
                <span id="sp">如果不通过请注明原因</span>
                <input type="hidden" name="taskid" th:value="${map['taskid']}"/>
            </td>
        </tr>
        <tr>
            <td align="right" colspan="4">
                <input type="submit" value="通过"/>
                <input type="button" value="不通过" id="btn"/>
            </td>
        </tr>
        </table>
    </form>
</body>
</html>